<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增付款台账')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-fklog-add">
        	<input name="gcProjectid" th:value="${gcProjectid}" type="hidden">
        	<input name="projectId" th:value="${projectId}" type="hidden">
        	<input name="fkId" th:value="${fkId}" type="hidden">
        	<input name="xmtype" th:value="${xmtype}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">管理子项目编号：</label>
                <div class="col-sm-8">
                    <input name="projectNo" class="form-control" required type="text" th:value="${projectNo}" readonly="readonly">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">项目名称：</label>
                <div class="col-sm-8">
                    <input name="xmmc" class="form-control" required type="text" th:value="${xmmc}" readonly="readonly">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">单位名称：</label>
                <div class="col-sm-8">
                    <input name="ckdw" class="form-control" required type="text" th:value="${ckdw}" readonly="readonly">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">支付方式：</label>
                <div class="col-sm-8">
                    <input name="fkfs" class="form-control" required type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">支付金额：</label>
                <div class="col-sm-8">
                    <input name="fkjine" class="form-control" required type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <textarea name="memo" class="form-control"></textarea>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "gcgl/fklog"
        $("#form-fklog-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-fklog-add').serialize());
            }
        }
    </script>
</body>
</html>